<?php


namespace LeeBai\Annotation;


use Hyperf\Di\Annotation\AbstractAnnotation;

/**
 * @Annotation
 * @Target({"ALL"})
 */
class Param extends AbstractAnnotation
{
    /**
     * 参数名
     * @var String
     */
    public $name;

    /**
     * 是否必填
     * @var Boolen
     */
    public $required = false;

    /**
     * 是否必填
     * @var Boolen
     */
    public $default = "";

    /**
     * 字段类型
     * @var String
     */
    public $type = 'string';

    /**
     * 接口描述
     * @var String
     */
    public $desc = '';

}